<div class="container">
<div class="tab-title clear">
	{volist name="tab_list" id="tab"}
	<a href="{:url('index?pid='.$tab['id'])}" class="{$tab['id']==input('pid',1)?'on':''}" >{$tab['title']}</a>
	{/volist}
</div>


<form class="form form-ajax" method="post" action="{:request()->url()}"  autocomplete="off">
	
	{volist name="list" id="vo" }
	<div class="form-item ">
		<label class="form-label">{$vo['title']}：</label>
		<div class="form-input">
			{if $vo['type']==2}
			<div class="image" >
				<i>×</i>
				<img src="{$vo['value']}" onerror="javascript:this.src='/static/admin/image.png'">
				<input type="hidden" name="{$vo['name']}" value="{$vo['value']}">
			</div>
			{elseif $vo['type']==1}
			<textarea class="textarea"  name="{$vo['name']}" >{$vo['value']}</textarea>
			{elseif $vo['type']==3}
			<div class="input-color">
				<input type="text" class="input" name="{$vo['name']}" value="{$vo['value']}"  >
				<input type="color" value="{$vo['value']}">
			</div>
			{elseif $vo['type']==4}
				{:html_select($vo['name'],$vo['value'],theme_list())}
	
            {elseif $vo['type']==5}
            	{:html_select($vo['name'],$vo['value'],state_list())}
            {else}
			<input type="text" class="input" name="{$vo['name']}" value="{$vo['value']}"  >
			{/if}
		</div>
	</div>
	{/volist}
	
	 
	 
	<div class="form-item">
		<div class="form-input">
			<button type="submit" class="btn" id="sub">提交</button>
		</div>
	</div>
</form>



 </div>